FROM python:3.10.12
RUN mkdir -p /opt/app/hrb
WORKDIR /opt/app/hrb
COPY . /opt/app/hrb
RUN pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
EXPOSE 5000
CMD ["python3", "manage.py"]